﻿using System;
using System.Collections;

namespace Framework.Unity
{
    internal class EmptyContainer : IContainer
    {
        public object GetA(Type interfaceType)
        {
            throw new InvalidOperationException("Container not initialized");
        }

        public object GetA(Type interfaceType, IDictionary arguments)
        {
            throw new InvalidOperationException("Container not initialized");
        }

        public void Release(object instance)
        {
            throw new InvalidOperationException("Container not initialized");
        }
    }
}